package com.zhiyou100.dao;

import com.zhiyou100.entity.Exam;

import java.util.Date;
import java.util.List;

public interface ExamDao   extends   EntityDao<Exam,Integer> {
    Exam  getOneByEname(String ename);
    Exam  getOneByEtime(Date etime);
    List<Exam> getAllByEnameOrEtime(String ename, Date etime);
    List<Exam>  getAllFenYe(int startIndex,int pageSize);
}
